package com.group.hugedatabehind.service;

import com.group.hugedatabehind.mapper.MessageMapper;
import com.group.hugedatabehind.pojo.MessageTimeDistribution;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MessageService {
    @Autowired
    private MessageMapper messageMapper;

    public List<MessageTimeDistribution> getMessageTimeDistribution(String message) {
        return messageMapper.getMessageTimeDistribution(message);
    }
}
